package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.EventDetails;
import org.hxyjs.entity.EventDetailsExample;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface EventDetailsMapper {
    long countByExample(EventDetailsExample example);

    int deleteByExample(EventDetailsExample example);

    int deleteByPrimaryKey(String edno);

    int insert(EventDetails record);

    String getMaxEdno();

    int insertSelective(EventDetails record);

    List<EventDetails> selectByExample(EventDetailsExample example);

    List<EventDetails> getEventDetailsByPage(Map<String, Object> map);

    EventDetails selectByPrimaryKey(String edno);

    int updateByExampleSelective(@Param("record") EventDetails record, @Param("example") EventDetailsExample example);

    int updateByExample(@Param("record") EventDetails record, @Param("example") EventDetailsExample example);

    int updateByPrimaryKeySelective(EventDetails record);

    int updateByPrimaryKey(EventDetails record);
}